package model;

/**
 * The StorageArea class contain ID of specific spare part type.
 * <br>@author Nikolay
 * <br>@changes:
 */
public class StorageArea {
	private int id;

	/**
	 * <code>  StorageArea storageArea = new StorageArea(id); </code>
	 * @author Nikolay
	 * @param int id= The ID of the spare part.
	 */
	public StorageArea(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	//-------------------------------------------------------------------------
	public void updateStorageArea(int id) {
		this.id = id;
	}
	//-------------------------------------------------------------------------	
	public String toString() {
		return "# " + id;
	}

}
